package com.bjb.config;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 ****************************************
 * @describe 图片上传相关配置信息
 ****************************************
 */
@SpringBootConfiguration
@ConfigurationProperties(prefix = "img.upload")
public class ImgUploadConfig {
    private String dir;
    private String urlPrefix;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public String getUrlPrefix() {
        return urlPrefix;
    }

    public void setUrlPrefix(String urlPrefix) {
        this.urlPrefix = urlPrefix;
    }
}

